package io.renren.modules.eas.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.eas.dao.EasBasicGradeDao;
import io.renren.modules.eas.entity.EasBasicGradeEntity;
import io.renren.modules.eas.service.EasBasicGradeService;


@Service("easBasicGradeService")
public class EasBasicGradeServiceImpl extends ServiceImpl<EasBasicGradeDao, EasBasicGradeEntity> implements EasBasicGradeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<EasBasicGradeEntity> page = this.page(
                new Query<EasBasicGradeEntity>().getPage(params),
                new QueryWrapper<EasBasicGradeEntity>()
        );

        return new PageUtils(page);
    }

}